package com.auth.repository;

import com.auth.pojo.User;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

/**
 * Created by Administrator on 2017/7/21 0021.
 */
@Repository
public interface UserRepository extends MongoRepository<User,String> {
    User findByUserName(final String userName);
}
